package cate.game.chat.msg;

import cate.game.chat.ChatPublicItem;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBChat;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "收到公共频道消息 の 通知")
public class ChatPublicItemResp implements MsgOutput {

    @NoteField(value = "一条消息")
    public ChatPublicItem item;

    public ChatPublicItemResp(){}

    public ChatPublicItemResp(ChatPublicItem item) {
        this.item = item;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBChat.PUBLIC_ITEM_RESP;
    }
}
